#region

using SixLabors.Fonts;
using Vin.Extension.Captcha.Model;

#endregion

namespace Vin.Extension.Captcha.Service.Interface;

public interface IVinGenerateCaptchaService
{
    public GenerateCodeModel GenerateCaptcha(char[] text, Font? font = null, int fontSize = 20, int width = 100,
        int height = 34);

    public GenerateCodeModel GenerateCaptcha(string text, Font? font = null, int fontSize = 20, int width = 100,
        int height = 34);

    public void ClearCaptcha(string? uuid);
    
    public bool VerifyCaptcha(string uuid, string text);
}